#include "clientalivetimer.h"

ClientAliveTimer::ClientAliveTimer() :
    waitTime(1)
{
    this->start();
}


void ClientAliveTimer::run() {
    while(true) {
        sleep(waitTime);
        emit timeOut();
    }
    exec();
}

